<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
	<!-- Required meta tags -->
	<meta charset="utf-8">
	<title>抢单</title>
	<meta content="width=device-width, initial-scale=1" name="viewport">
	<link th:include="rider/common::commonheader">
</head>

<body>
<!--wrapper-->
<div class="wrapper">
	<div th:replace="rider/common::#commonbody1"></div>
	<div th:replace="rider/common::#commonbody2"></div>
	<!--end header -->
	<div class="row col-md-offset-2"style="margin-top: 80px">
		<div class="col-lg-4-6 col-md-4" th:each="list,statar:${list}">
			<div class="thumbnail">
				<div class="caption">
					<div class="row">
						<div class="col-sm-5 col-md-4 col-lg-5">
							<h4><i class="glyphicon glyphicon-time " style="color: #ff9800"></i> 发起时间</h4>
							<span style="color: #ff9800" th:text="${list.getTimeString()}"></span>
						</div>
						<div class="col-sm-5 col-md-4  col-lg-3 col-lg-offset-4">
							<h4><i class="layui-icon layui-icon-gift" style="color: red"></i> 奖励(糖豆)</h4>
							<span style="color: red" th:text="${list.getIndentReward()}"></span>
						</div>
					</div>
				</div>
				<div class="caption mt-lg-8" >
					<span class="col-sm-12 col-lg-4 fs-lg-1 text-left" style="font-size: 20px"><i class="glyphicon glyphicon-map-marker" style="color: red;margin-left: -15px;margin-right: 5px;"></i>取货</span>
					<span class="col-sm-12 col-lg-8 col-md-9 text-right" style="font-size: 20px"><i class="fs-1 layui-font-red">裕安区</i>消毒中心</span>
				</div>

				<div class="caption mt-lg-8" >
					<span class="col-sm-12 col-lg-4 fs-lg-1 text-left" style="font-size: 20px"><i class="glyphicon glyphicon-map-marker" style="color: red;margin-left: -15px;margin-right: 5px;"></i>收货</span>
					<span class="col-sm-12 col-lg-8 col-md-9 text-right" style="font-size: 20px"><i class="fs-1 layui-font-red"></i><i th:text="${list.getAddress()}"></i></span>
				</div>
				<div class="caption mt-lg-8" style="margin-top: 60px;">
					<form method="post" th:action="@{/dogether-GrabOrders}">
						<input hidden="hidden" name="getherId" th:value="${list.getId()}">
						<input class="btn-lg btn-block layui-btn layui-btn-warm" type="submit" value="立即接单">
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<!--end wrapper-->
<div th:include="rider/common::#commontail"></div>
</body>
</html>
